package pe.com.pgn.consolidadorventas.servidorcentral.dbo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name = "CVEN_GLP_VENTA_OPSALESCARD")
@SequenceGenerator(name = "SEQ_CVEN_VENTA_OPSALESCARD", sequenceName = "SEQ_CVEN_VENTA_OPSALESCARD", allocationSize = 1)
public class GlpVentaOpSalesCard implements Serializable{

	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name = "idVentaSalesCard",unique = true, nullable = false)
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SEQ_CVEN_VENTA_OPSALESCARD")
	private int idVentaSalesCard;
	
	@Column(name = "Glp_Ventas_IdVenta")
	private int idVenta;
	
	@Column(name = "docTypeId")
	private String docTypeId;
	
	@Column(name = "nbrDocument")
	private String nbrDocument;
	
	@Column(name = "siteId")
	private String siteId;
	
	@Column(name = "sequence")
	private int sequence;
	
	@Column(name = "cardId")
	private String cardId;
	
	@Column(name = "nbrCard")
	private String nbrCard;
	
	@Column(name = "totCardPen")
	private BigDecimal totCardPen;
	
	@Column(name = "dateProceSales")
	private Date dateProceSales;
	
	public int getIdVentaSalesCard() {
		return idVentaSalesCard;
	}
	public void setIdVentaSalesCard(int idVentaSalesCard) {
		this.idVentaSalesCard = idVentaSalesCard;
	}
	public int getIdVenta() {
		return idVenta;
	}
	public void setIdVenta(int idVenta) {
		this.idVenta = idVenta;
	}
	public String getDocTypeId() {
		return docTypeId;
	}
	public void setDocTypeId(String docTypeId) {
		this.docTypeId = docTypeId;
	}
	public String getNbrDocument() {
		return nbrDocument;
	}
	public void setNbrDocument(String nbrDocument) {
		this.nbrDocument = nbrDocument;
	}
	public String getSiteId() {
		return siteId;
	}
	public void setSiteId(String siteId) {
		this.siteId = siteId;
	}
	public int getSequence() {
		return sequence;
	}
	public void setSequence(int sequence) {
		this.sequence = sequence;
	}
	public String getCardId() {
		return cardId;
	}
	public void setCardId(String cardId) {
		this.cardId = cardId;
	}
	public String getNbrCard() {
		return nbrCard;
	}
	public void setNbrCard(String nbrCard) {
		this.nbrCard = nbrCard;
	}
	public BigDecimal getTotCardPen() {
		return totCardPen;
	}
	public void setTotCardPen(BigDecimal totCardPen) {
		this.totCardPen = totCardPen;
	}
	public Date getDateProceSales() {
		return dateProceSales;
	}
	public void setDateProceSales(Date dateProceSales) {
		this.dateProceSales = dateProceSales;
	}
	
	
}
